package com.xuyuan.json.jackson.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class Animal {
    @JsonProperty("my_name")
    private String field1;
    @JsonProperty("my_age")
    private Integer field2;
}
